package com.linkhub.oms.admin.modules.whitelist.domain.vo;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Description: WhiteListApprovalVO
 * @Author: echo
 * @Date: 2024/3/5 21:48
 * @Version: 1.0
 */
@Data
@ApiModel(value = "WhiteListApprovalVO", description = "白名单审批记录返回结果对象")
public class WhiteListApprovalVO implements Serializable {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    @ApiModelProperty(value = "申请时间")
    private LocalDateTime applyTime;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "审批状态描述")
    private String approvalStatusDesc;
}
